<?php define('BASEPATH', str_replace('\\', '/', dirname(__FILE__)));

error_reporting(E_ALL);

define('EXT', '.php');
define('INCPATH', BASEPATH . '/includes');
define('CFGPATH', BASEPATH . '/configs');
define('APPPATH', BASEPATH . '/applications');

// load the bootstrap.php
require_once(INCPATH . '/bootstrap.php');

$db = Db::init();
